<template>
  {{ msg }} like blow
  <p></p>
  <input type="button" value="修改名称" @click="change" />
  <p></p>
  {{ user.name }}今年 {{ user.age }}岁
  <p></p>
</template>


<script setup lang="ts">
import { ref,reactive } from "vue";
let msg = ref("wjh");
let user = reactive({name: "zs",age: "12"})

function change() {
  msg.value = "hehe";
}
</script>

